package com.maochang.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.maochang.pojo.PsSolverDetail;
import com.maochang.pojo.PsSolvetaskMain;
import com.maochang.pojo.util.ChuAnSuoKuAng;
import com.maochang.pojo.util.ZhuRenWuXiaoQueMingXi;

import javax.servlet.http.HttpSession;
import java.util.List;

public interface xiaoQuZhiDingService extends IService<PsSolvetaskMain> {
    //消缺任务查询
    Page<PsSolvetaskMain> CHaXunZiRenWu(PsSolvetaskMain psSolvetaskMain, int page, int size, String kai, String jie, HttpSession session);
    //增加缺陷任务
    Boolean  addXiaoQu(ZhuRenWuXiaoQueMingXi xi, HttpSession httpSession);
    //消缺员查询
    List<PsSolverDetail> chaXiaoQuRen(Integer id);
    //分配消缺任务
    boolean  FenPeiXiAoQueRenWu(Integer id, List<ChuAnSuoKuAng> chuAnSuoKuAng,HttpSession httpSession);
    //修改缺陷信息
    boolean xiuGai(Integer id,ZhuRenWuXiaoQueMingXi xi, HttpSession httpSession);

}
